package com.palm.dao.entity;

import java.util.UUID;

public class Driver extends Entity{

	private String driverId;
	private String driverName;
	private String phoneNum;
	private String sex;
	private String idcardNum;
	
	public Driver(String driverName, String phoneNum, String sex, String idcardNum) {
		super();
		this.driverId = UUID.randomUUID().toString();
		this.driverName = driverName;
		this.phoneNum = phoneNum;
		this.sex = sex;
		this.idcardNum = idcardNum;
	}
	public String getDriverId() {
		return driverId;
	}
	public void setDriverId(String driverId) {
		this.driverId = driverId;
	}
	public String getDriverName() {
		return driverName;
	}
	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getIdcardNum() {
		return idcardNum;
	}
	public void setIdcardNum(String idcardNum) {
		this.idcardNum = idcardNum;
	}
	@Override
	public String toString() {
		return "Driver [driverId=" + driverId + ", driverName=" + driverName + ", phoneNum=" + phoneNum + ", sex=" + sex
				+ ", idcardNum=" + idcardNum + "]";
	}
	
	
	
}
